<?php

namespace app\webapp\controller;

use app\common\controller\Frontend;

class Index extends Common
{

    protected $layout = 'bootstrap';

    public function _initialize()
    {
        parent::_initialize();
    }

    public function index()
    {
        return $this->view->fetch();
    }

    /**
     * banner 活动详情
     * @par artid 活动ID
     */
    public function banner($artid){
        return $this->view->fetch();
    }

    /**
     * 公告详情
     * @p artid 公告ID
     */

    public function Notice($artid){
        return $this->view->fetch();
    }

    /**
     * 协议详情
     * @par queryid
     */
    public function Agreement($artid){

        return $this->view->fetch();
    }
}
